package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.ViewConfigPushMes;
import com.ruoyi.system.mapper.ViewConfigPushMesMapper;
import com.ruoyi.system.service.ViewConfigPushMesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ViewConfigPushMesServiceImpl implements ViewConfigPushMesService {

    @Autowired
    private ViewConfigPushMesMapper viewConfigPushMesMapper;

    @Override
    public List<ViewConfigPushMes> queryByViewKey(ViewConfigPushMes viewConfigPushMes) {
        return viewConfigPushMesMapper.queryByViewKey(viewConfigPushMes);
    }

    @Override
    public void updateViewConfigPushMes(ViewConfigPushMes viewConfigPushMes) {
        viewConfigPushMesMapper.updateViewConfigPushMes(viewConfigPushMes);
    }

}
